package com.study.examples.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.study.examples.dto.AddUserInfoRequest;
import com.study.examples.dto.AddUserInfoResponse;
import com.study.examples.dto.UserInfoListResponse;
import com.study.examples.model.UserInfo;

import java.util.List;

/**
 * @ClassName: UserInfoService
 * @Description:
 * @author: limingxing
 * @Date: 2020-01-15 15:40
 */
public interface IUserInfoService {

    AddUserInfoResponse create(AddUserInfoRequest request);

    IPage<UserInfoListResponse> getList(int pageNum, int pageSize);
}
